Skip to content

PDFUAFormatter.Save Method

Overloads

Name Description
Save(PDFFixedDocument,String,PDFUAFormat) Saves the document to the file in the specified PDF/UA format.
Save(PDFFixedDocument,String,PDFUAFormat,Boolean) Saves the document to the file in the specified PDF/UA format.
Save(PDFFixedDocument,Stream,PDFUAFormat) Saves the document to the stream in the specified PDF/A format.
Save(PDFFixedDocument,Stream,PDFUAFormat,Boolean) Saves the document to the stream in the specified PDF/A format.

Save(PDFFixedDocument,String,PDFUAFormat)

Saves the document to the file in the specified PDF/UA format.

C#
public static void Save(PDFFixedDocument document, string fileName, PDFUAFormat format)

Parameters

document PDFFixedDocument

The document to save.

fileName String

Destination file where the document is saved.

format PDFUAFormat

PDF/UA format for the saved document.

Save(PDFFixedDocument,String,PDFUAFormat,Boolean)

Saves the document to the file in the specified PDF/UA format.

C#
public static void Save(PDFFixedDocument document, string fileName, PDFUAFormat format, bool enablePDFStructureCompression)

Parameters

document PDFFixedDocument

The document to save.

fileName String

Destination file where the document is saved.

format PDFUAFormat

PDF/UA format for the saved document.

enablePDFStructureCompression Boolean

Enables the compression of PDF file structure

Save(PDFFixedDocument,Stream,PDFUAFormat)

Saves the document to the stream in the specified PDF/A format.

C#
public static void Save(PDFFixedDocument document, Stream stream, PDFUAFormat format)

Parameters

document PDFFixedDocument

The document to save.

stream Stream

Destination stream where the document is saved.

format PDFUAFormat

PDF/UA format for the saved document.

Save(PDFFixedDocument,Stream,PDFUAFormat,Boolean)

Saves the document to the stream in the specified PDF/A format.

C#
public static void Save(PDFFixedDocument document, Stream stream, PDFUAFormat format, bool enablePDFStructureCompression)

Parameters

document PDFFixedDocument

The document to save.

stream Stream

Destination stream where the document is saved.

format PDFUAFormat

PDF/UA format for the saved document.

enablePDFStructureCompression Boolean

Enables the compression of PDF file structure